import { lazy } from "react";
import { v4 } from "uuid"
let routes = [
    {
        id: v4(),
        path: "/login",
        component: lazy(() => import("../views/login")),
        exact: true,
        isNaN: false,
    },
    {
        id: v4(),
        path: "/layout",
        component: lazy(() => import("../views/layout")),
        exact: false,
        isNaN: false,
        children: [
            {
                id: v4(),
                path: "/layout/home",
                component: lazy(() => import("../views/layout/Home")),
                exact: true,
                isNaN: true,
                icon: "iconfont icon-zhuye",
                title: "首页",
            },
            {
                id: v4(),
                path: "/layout/two",
                component: lazy(() => import("../views/layout/two")),
                exact: true,
                isNaN: true,
                icon: "iconfont icon-order",
                title: "服务介绍",
            },
            {
                id: v4(),
                path: "/layout/three",
                component: lazy(() => import("../views/layout/three")),
                exact: true,
                isNaN: true,
                icon: "iconfont icon-order",
                title: "钱包",
            },
            {
                id: v4(),
                path: "/layout/five",
                component: lazy(() => import("../views/layout/five")),
                exact: true,
                isNaN: true,
                icon: "iconfont icon-wode",
                title: "我的",
            },
           
        ]
    },


]
export default routes;